package com.ds.infrastructure.hyperspace.container.endpoint;

import com.ds.infrastructure.hyperspace.container.flow.context.HyperspaceDuplexFlowContext;
import lombok.Getter;

/**
 * @author  Weishaoying
 */
@Getter
public class HyperspaceSuspendDataWrapper {

    private final HyperspaceDuplexFlowContext duplexFlowContext;

    private final Object data;

    private final boolean isFlush;

    public HyperspaceSuspendDataWrapper(HyperspaceDuplexFlowContext duplexFlowContext,
            Object data, boolean isFlush) {
        this.duplexFlowContext = duplexFlowContext;
        this.data = data;
        this.isFlush = isFlush;
    }
}
